home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 9669 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.1 KB

  1. Path: news1.h1.usa.pipeline.com!usenet
  2. From: grantp@usa.pipeline.com(Pete)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: Can C++ run DOS .exe files?
  5. Date: 3 Mar 1996 11:34:05 GMT
  6. Organization: Kalevi, Inc.
  7. Message-ID: <4hc03d$131@news1.usa.pipeline.com>
  8. References: <4hakim$mn3@wally.uofport.edu>
  9. NNTP-Posting-Host: pipe9.h1.usa.pipeline.com
  10. X-PipeUser: grantp
  11. X-PipeHub: usa.pipeline.com
  12. X-PipeGCOS: (Pete)
  13. X-Newsreader: Pipeline v3.5.0
  14.  
  15. On Mar 02, 1996 15:11:18 in article <Can C++ run DOS .exe files?>,
  16. 'pgeorge@uofport.edu (Paul George)' wrote: 
  17.  
  18.  
  19. >I'm involved in a project which requires C++ to call a DOS executable  
  20. >file, and then return back to the C++ program upon finishing? 
  21. >I have looked in several C and C++ books, but I have yet been able to  
  22. >find an answer to this question.  At the very least, I would like to find 
  23.  
  24. >a C/C++ program which can shell to DOS? 
  25. This is not a language issue, as it is dependent on the OS.  Many 
  26. compiler systems, however, do provide spawn, exec, and system 
  27. functions that will do the trick.  Search for spawn in your online 
  28. docs. 
  29. -- 
  30. Pete Grant 
  31. Kalevi, Inc. 
  32. Software Engineering & development
  33.